package com.cj.staservice.client;

import com.cj.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author cj
 * @date 2023/4/21 17:56
 * @description
 */
@Component
@FeignClient(name = "service-ucenter")
public interface ucenterClient {
    @GetMapping("/educenter/member/countRegister/{day}")
    public R getCountRegister(@PathVariable("day") String day);
    //查询某一天登录人数
    @GetMapping("/educenter/member/countLogin/{day}")
    public R getCountLogin(@PathVariable("day") String day);
}
